package com.homestay.dao;

import com.homestay.beans.BookInfo;
import com.homestay.beans.Books;

import java.util.List;

public interface BooksDao {
    int addBooks(Books book);
    int deleteBooks(int id);
    int updateBooks(Books book);
    List<Books> getBooks(String phone);
    Books getBooksById(int id);

    List<BookInfo> getBookInfo(String phone);

    BookInfo getBookInfoById(String id);

    Books getBooksByVipId(int vip_id);
}
